ExamPlay Light Logo
Είσοδος

Computer Science for IGCSE & O level - Programming (Section 1 - No. 4)

In Python, how do you open a file to read its content?
open("filename.txt", "w")
open("filename.txt", "r")
read("filename.txt")
write("filename.txt", "r")

Εξήγηση

The 'r' mode opens a file for reading.

Σχόλια (0)

Είσοδος για σχόλιο
Διαφήμιση
BrainBehindX Inc Logo
©2026; Τροφοδοτείται από BrainBehindX Inc